package com.egao.common.module.credits.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.egao.common.core.web.PageParam;
import com.egao.common.module.credits.entity.CreditsStudent;
import com.egao.common.module.credits.mapper.CreditsStudentMapper;
import com.egao.common.module.credits.service.CreditsStudentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lym
 * @date 2022/1/20 14:58
 */
@Service
public class CreditsStudentServiceImpl extends ServiceImpl<CreditsStudentMapper, CreditsStudent> implements CreditsStudentService {

    @Override
    public List<CreditsStudent> listPage(PageParam<CreditsStudent> page) {
        page.setDefaultOrder(null, new String[]{"create_time"});
        return baseMapper.listPage(page);
    }
}
